< previous page page_236 next page >

Page 236
Text Files
Visdata can load various standard formats of ASCII text files for read-only access. When you select a file to load (using the File Open dialog box), you actually open the entire directory as a database. Visdata permits you to select any file with a .TXT extension from the Database window and open it as a read-only data table. Figure 7.17 shows the file \TYSDBVB\SOURCE\DATA\TEXT\TXSAMPLE.TXT opened as a read-only data file.
0236-01.jpg
Figure 7.17.
Opening a text file with Visdata.
Visdata recognizes several types and formats of ASCII text files. The default format is comma-delimited fields with character fields surrounded by quotes.
ODBC
The ODBC . . . menu option is slightly different from the previously discussed Open commands. This option enables you to use Visdata to open predefined ODBC data sources. When you select the ODBC . . . menu option, you see a screen that asks you for the data source type, data source name, user ID, and password for that data source (see Figure 7.18).
After you fill out the ODBC dialog box, Visdata locates and opens the data source and updates the Database window.

 
< previous page page_236 next page >

If you like this book, buy it!